UCF STIG Viewer Logo

The macOS system must disable the Screen Sharing feature.


Overview

Finding ID Version Rule ID IA Controls Severity
V-257213 APPL-13-002050 SV-257213r905272_rule Medium
Description
The Screen Sharing feature allows remote users to view or control the desktop of the current user. A malicious user can take advantage of screen sharing to gain full access to the system remotely, either with stolen credentials or by guessing the username and password. Disabling Screen Sharing mitigates this risk.
STIG Date
Apple macOS 13 (Ventura) Security Technical Implementation Guide 2023-08-28

Details

Check Text ( C-60898r905270_chk )
Verify the macOS system is configured to disable the Screen Sharing feature with the following command:

/usr/bin/sudo /bin/launchctl print-disabled system | /usr/bin/grep com.apple.screensharing

"com.apple.screensharing => disabled"

If "com.apple.screensharing" is not set to "disabled", this is a finding.
Fix Text (F-60839r905271_fix)
Configure the macOS system to disable the Screen Sharing service with the following command:

/usr/bin/sudo /bin/launchctl disable system/com.apple.screensharing

The system may need to be restarted for the update to take effect.